<?php

namespace co2_OS\apps\wordpress\v0_0_0\blog;

use co2_OS as core;
use co2\v0_0_0 as api;

class create

{
  public function
  __construct
  (
    $blog_name
  )
  {
    $dir=core\cli_dir;
    
    $base="$dir/$blog_name";
    
    core\sqlite("INSERT INTO blogs VALUES('$blog_name')");
    
    //new api\bash\mkdir($base,array('p'=>1));
  }
}
